dir_names="origin_wav raw_scp shards_file"
#dir_names="raw_scp"
# shellcheck disable=SC2034
for dir_name in ${dir_names}; do
{
  echo "copy: ""$dir_name"
  # 不论后面的/是否添加,都是把output_dir视为父亲目录, 确保该目录一定存在,然后系统会自动创建同名子目录
  output_dir=/home/work_nfs15/asr_data/data/aishell_1/
  mkdir -p $output_dir
  rsync -arP aslp@10.68.109.101:/home/work_nfs14/asr_data/data/aishell_1/"$dir_name"  "$output_dir"
}
done